#!/bin/bash

DEV_SETTINGS=".devsettings"
EXEC_PATH=

while IFS="=" read -r name value
do
  if [[ "${name:0:1}" != '#' ]]; then
    case $name in
      --exec) EXEC_PATH=$value
      ;;
    esac
  fi
done < "$DEV_SETTINGS"

# perform
eval $EXEC_PATH -s reload -p $PWD
